package zuoye;

public class test2 {
    private String sno;
    private String sname;
    private String sex;
    private String course;
    private int grade;

    public test2() {
    }
    public test2(int grade) {
        this.grade = grade;
    }

    public test2(String course) {
        this.course = course;
    }



    public test2(String sno, String sname, String sex) {
        this.sno = sno;
        this.sname = sname;
        this.sex = sex;
    }

    public String getSno() {
        return sno;
    }

    public void setSno(String sno) {
        this.sno = sno;
    }

    public String getSname() {
        return sname;
    }

    public void setSname(String sname) {
        this.sname = sname;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getCourse() {
        return course;
    }

    public void setCourse(String course) {
        this.course = course;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }
}
